package com.software.service;

import com.software.bean.CartBean;
import com.baomidou.mybatisplus.extension.service.IService;
import com.software.dto.AddCartDto;
import com.software.dto.DeleteCartDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wyj
 * @since 2024-04-10
 */
public interface CartService extends IService<CartBean> {

    Integer addCart(AddCartDto addCartDto);

    List<CartBean> getCartList(Integer customerId);

    Integer deleteCartProductById(DeleteCartDto deleteCartDto);
}
